package com.jn.rxjava.service;

import com.jn.rxjava.entity.TrackingNum;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface TrackingService {

    @GET("express/tracking?dataSource=nationwide_express")
    Observable<TrackingNum> getData(@Query("trackingNumber") String trackingNumber);
}